#pragma once


#include <guichan.hpp>
#include "LSListWnd_t.h"

class createRoleWndListener_t : public gcn::ActionListener
{
	bool action(const gcn::ActionEvent& actionEvent);
};

class createRoleWnd_t
{
public:
	static void init(gcn::Gui* gui);
	static void release();

public:
	static gcn::Gui* gui; 
	static createRoleWndListener_t* listener;
	static gcn::Window* wnd;
	static gcn::Window* roleWnd;
	static gcn::Window* petWnd;

	static gcn::Icon* backIcon;
	static gcn::Image* backImage;

	static gcn::Button* btnOK; 
	static gcn::Button* btnCancel;

	static gcn::Button* btnBoy; 
	static gcn::Button* btnGirl; 

	static gcn::Label* lblCreateRole;
	static gcn::Label* lblName;
	static gcn::Label* lblSex;

	static gcn::Label* lblSexValue;

	static gcn::TextField* tfName;

	static gcn::cartoonPic* picBoy;
	static gcn::cartoonPic* picGirl;
	static gcn::cartoonPic* picPet1;
	static gcn::cartoonPic* picPet2;
	static gcn::cartoonPic* picPet3;

	static gcn::RadioButton* rbBoy;
	static gcn::RadioButton* rbGirl;

	static LSListModel_t* listInfo;
	static gcn::ListBox* petList;
	
};